import Vue from 'vue';
import App from './App.vue';
import router from './router';
import Element from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import axios from './axios';
import store from './store';

Vue.prototype.$axios = axios;
Vue.config.productionTip = false;

// require("./mock.js")

Vue.use(Element);

new Vue({
  router, //配置路由
  store, //配置vuex
  render: (h) => h(App), //cli环境一定要用render函数引入App
}).$mount('#app'); //挂载到容器 div="app"
